<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../../../static/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../../static/js/jquery.js"></script>
</head>
<script type="text/javascript">
  //数据回显
  $(function () {
    var moduleId = JSON.parse(localStorage.getItem("sysmoduleId2"));
    $.ajax({
      type: "post",
      url: "/modules/moduleDetail",
      data: {moduleId: moduleId},
      dataType: "JSON",
      success: function (rm) {
        $("#moduleRname").html(rm.data.moduleRname);
        $("#modulePname").html(rm.data.modulePname);
        $("#moduleMurl").html(rm.data.moduleMurl);
        if(rm.data.moduleState===1){
          var state = "正常";
        }else{
          state = "禁用";
        }
        $("#moduleState").html(state);
      }
    });
  });
</script>
<body>
<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li><a href="../modules/list">系统管理</a></li>
    <li><a href="../modules/list">模块管理</a></li>
    <li><a href="../modules/moduleView">模块信息</a></li>
  </ul>
</div>
<div class="formbody">
  <div class="formtitle"><span>模块信息</span></div>
  <ul class="forminfo">
    <li>
      <label>模块名称</label>
      <cite id="moduleRname">用户管理</cite>
    </li>
    <li>
      <label>父模块</label>
      <cite id="modulePname">系统管理</cite>
    </li>
    <li>
      <label>URL</label>
      <cite id="moduleMurl">sys/users/userList.html</cite>
    </li>
    <li>
      <label>状态</label>
      <cite id="moduleState">正常</cite>
    </li>
  </ul>
  <div style="margin-top:20px; margin-left:20px;">
  <input name="" type="button" class="btn" value="返回" onclick="window.history.go(-1);"/>
  </div>
</div>
<script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
</script>
</body>
